package com.hxl.config;

////@Configuration
////@ComponentScan(value = "com.itheima",includeFilters =
////    @ComponentScan.Filter(type=FilterType.ANNOTATION,classes = {Controller.class})
////    )
//public class SpringMVCConfiguration implements WebMvcConfigurer{
//    //注解配置放行指定资源格式
////    @Override
////    public void addResourceHandlers(ResourceHandlerRegistry registry) {
////        registry.addResourceHandler("/img/**").addResourceLocations("/img/");
////        registry.addResourceHandler("/js/**").addResourceLocations("/js/");
////        registry.addResourceHandler("/css/**").addResourceLocations("/css/");
////    }
//
//    //注解配置通用放行资源的格式
//    @Override
//    public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
//        configurer.enable();;
//    }
//}
